package com.changgou.service.goods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Author: JoinCao
 * @CreateDate: 2020-03-12
 */
@SpringBootApplication//声明为引导类
@EnableEurekaClient//声明当前工程是eureka的客户端
@MapperScan(basePackages = {"com.changgou.service.goods.dao"})//MapperScan导的包是tk那个
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class, args);
    }
}
